From 8e7c7396e9482d11498950c8efd04a4ad6a04864 Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Mon, 3 Sep 2018 07:37:40 +0900 Subject: [PATCH] Use remoting name for call to gdk_set_program_class Closes: #907574 Gbp-Pq: Topic debian-hacks Gbp-Pq: Name Use-remoting-name-for-call-to-gdk_set_program_class.patch --- widget/gtk/nsAppShell.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/widget/gtk/nsAppShell.cpp b/widget/gtk/nsAppShell.cpp index 0b3c0e18d1..7f8d422e6b 100644 --- a/widget/gtk/nsAppShell.cpp +++ b/widget/gtk/nsAppShell.cpp @@ -293,7 +293,9 @@ nsresult nsAppShell::Init() { // See https://bugzilla.gnome.org/show_bug.cgi?id=747634 // // Only bother doing this for the parent process, since it's the one - // creating top-level windows. + // creating top-level windows. (At this point, a child process hasn't + // received the list of registered chrome packages, so the + // GetBrandShortName call would fail anyway.) if (gAppData) { gdk_set_program_class(gAppData->remotingName); } -- 2.30.2